#ifndef MAIN_H
#define MAIN_H

#define _PROGRAM_NAME_ "QT WebDav Explorer by PPK-Screendesign/Webprogramm Peter Hohl"
#define _PROGRAM_NAME_DOMAINE_ "ciz.ch"
#define _ORGANIZATION_NAME_ "PPK-Screendesign/Webprogramm"
#define _PROGRAM_VCMS_ "version 0.4.5"
#define _PROGRAM_TITLE_  _PROGRAM_NAME_" - "_PROGRAM_VCMS_
#define Q_WORKS_PEND "open"
#define _PROGRAM_SHORT_NAME "wwwdavex_0"

#include <QResource>
#include <QTextTable>
#include <QInputDialog>
#include <QMenu>
#include <QString>
#include <QtDebug>
#include <QDebug> 
#include <QDesktopServices>
#include <QDebug>
#include <QString>
#include <QMap>
#include <QList>
#include <QStringList>
#include <QObject>
#include <QDateTime>
#include <QDate>
#include <QImageReader>
#include <QPixmap>
#include <QSettings>
#include <QTimer>
#include <QProgressDialog>
#include <QPainter>
#include <QPixmap>
#include <QUrl>
#include <QColorDialog>
#include <QFileDialog>
#include <QMessageBox>
#include <QTcpSocket>
#include <QString>
#include <QDebug>
#include <QObject>
#include <QFileInfo>
#include <QObject>
#include <QHttp>
#include <QFile>
#include <QBuffer> 
#include <QTcpSocket>
#include <QString>
#include <QTextStream>
#include <QDebug>
#include <QAbstractSocket>
#include <QDateTime>
#include <QDate>
#include <QLocale>
#include <QObject>
#include <QFileInfo>
#include <QObject>
#include <QFile>
#include <QBuffer>


#if defined Q_WS_MAC
#define WEBAGENTNAME "Mac WebDavExplorer QT4.2 / PPK_W @ciz.ch"
#endif
#if defined Q_WS_WIN
#define WEBAGENTNAME "Windows WebDavExplorer QT4.2 / PPK_W @ciz.ch"
#endif
#if defined Q_WS_X11
#define WEBAGENTNAME "Unix WebDavExplorer QT4.2  / PPK_W @ciz.ch"
#endif


#define _LOCK_CAT_ "HIDDEN"
#define _DEFAULTLANG_ "it"
#define _YES_CONSOLE_ "CONSOLE"




#define WORK_CACHEDIR \
              QString( "%1/.%2/" ).arg( QDir::homePath() , _PROGRAM_SHORT_NAME )
#define APPLICATIONCACHEDIR \
               QString( "%1" ).arg(WORK_CACHEDIR) 
#define HOME_DIR_YOUR \
              QString( "%1/" ).arg( QDir::homePath())
              
#define REQUESTSTREAM \
               QString( "%1._up.xml" ).arg( WORK_CACHEDIR )
#define MOVESTREAM \
               QString( "%1._move.xml" ).arg( WORK_CACHEDIR )
#define GETSTSTREAM \
               QString( "%1._down.xml" ).arg( WORK_CACHEDIR ) 
#define LASTACTIONB \
               QString( "%1._last_davinfo.xml" ).arg( WORK_CACHEDIR ) 
#define LASTMOVEACTION \
               QString( "%1._last_move.xml" ).arg( WORK_CACHEDIR ) 
#define LASTACTIONPUT \
               QString( "%1._last_put.xml" ).arg( WORK_CACHEDIR ) 
               
#define LASTACTIONDEL\
               QString( "%1._last_del.xml" ).arg( WORK_CACHEDIR ) 
#endif
